﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EnglishRegister.Forms
{
    public partial class FrMain : Form
    {
        public FrMain()
        {
            InitializeComponent();
            this.IsMdiContainer = true;
        }

        private void studentManagerToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmStudent studentForm = new frmStudent();
            studentForm.MdiParent = this;
            studentForm.Show();
        }

        private void listOfClassToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MainForm courseForm = new MainForm();
            courseForm.MdiParent = this;
            courseForm.Show();
        }

    }
}
